Skip to main content
GET
/
api
/
v2
/
products
/
{id}
Get a product [V2]
curl --request GET \
  --url https://api.loops.fi/api/v2/products/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "thumbnailUrl": "<string>",
  "images": [
    "<string>"
  ],
  "recurringInterval": "month",
  "amountType": "FIXED",
  "priceAmount": "<string>",
  "minimumAmount": "<string>",
  "presetAmount": "<string>",
  "priceCurrency": "<string>",
  "status": "ACTIVE",
  "metadata": {},
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "merchantId": "<string>"
}

Authorizations

Authorization
string
header
required

API Key authentication using Bearer token

Path Parameters

id
string
required

Product ID

Response

Default Response

id
string
required

Unique product identifier

name
string
required

Product name

amountType
enum<string>
required

Amount type

Available options:
FIXED,
CUSTOM,
FREE
priceCurrency
string
required

Price currency

status
enum<string>
required

Product status

Available options:
ACTIVE,
DRAFT,
INACTIVE
createdAt
string<date-time>
required

Product creation time

updatedAt
string<date-time>
required

Product last update time

merchantId
string
required

Merchant ID

description
string

Product description

thumbnailUrl
string<uri>

Product thumbnail image URL

images
string<uri>[]

Array of product image URLs

recurringInterval
enum<string>

Recurring interval for subscriptions

Available options:
month,
year
priceAmount
string

Price amount as string (required for FIXED type)

minimumAmount
string

Minimum amount as string (for CUSTOM type)

presetAmount
string

Preset amount as string (for CUSTOM type)

metadata
object

Additional product metadata

I